package dome1;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DickYang
 * Date: 2023-06-29
 * Time: 17:47
 *
 * 洗牌算法
 */
public class Test {
    public static void main(String[] args) {
        Geme geme = new Geme();
        //买牌
        System.out.println("买牌:");
        List<Poker> pokers = geme.buyPoker();
        System.out.println(pokers);

        //洗牌
        System.out.println("洗牌:");
        geme.shuffle(pokers);;
        System.out.println(pokers);

        //揭牌
        System.out.println("揭牌:");
        geme.dealcards(pokers);

        System.out.println("剩下的牌:");
        System.out.println(pokers);
    }
}
